package pub.strawhat.album.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import pub.strawhat.album.model.FileVO;

@Mapper
public interface FileMapper {

	Boolean insertFile(FileVO file);

	Boolean delFile(@Param("batchId") Integer batchId, @Param("fileId") Integer fileId);

	List<FileVO> findFileListByBatchId(@Param("batchId") Integer batchId);
	
	List<FileVO> findFileList(FileVO file);

}
